<?php 
	
print_r($this->user);

?>


<form action="<?php echo URL; ?>user/editSave/<?php echo $this->user['id']; ?>" method="post">
	<label>Login</label><input type="text" name="login" value="<?php echo $this->user['login']; ?>" /><Br/>
	<label>Password</label><input type="password" name="password" /><Br/>
	<label>Role</label>
	<select name="role">
		<option value="owner"<?php if ($this->user['role'] == 'owner') echo "selected"; ?>>Owner</option>
		<option value="default"<?php if ($this->user['role'] == 'default') echo "selected"; ?>>Default</option>
	</select><br/>
	<label></label><input type="submit" value="submit">

</form>